<!---
@自动生成 BY Kupe框架 www.kupebank.com
#date : 2018-03-04 09:21:05
#path : app/template/admin/news.addmode.html
--->
<form class="layui-form" action="" style="padding:10px;width:450px;">

 <div class="layui-form-item">
    <label class="layui-form-label">模型标识</label>
    <div class="layui-input-block">
      <input type="text" name="tag" required  lay-verify="required" placeholder="请输入唯一的模型标识" autocomplete="off" class="layui-input">
    </div>
  </div>


  <div class="layui-form-item">
    <label class="layui-form-label">模型名称</label>
    <div class="layui-input-block">
      <input type="text" name="name" required  lay-verify="required" placeholder="请输入模型名称" autocomplete="off" class="layui-input">
    </div>
  </div> 
  
  <div class="layui-form-item">
    <label class="layui-form-label">首页模板</label>
    <div class="layui-input-block">
      <input type="text" name="tpl_index"  placeholder="请输入首页模板" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">列表模板</label>
    <div class="layui-input-block">
      <input type="text" name="tpl_category" placeholder="请输入列表模板" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">内容模板</label>
    <div class="layui-input-block">
      <input type="text" name="tpl_content"  placeholder="请输入内容模板" autocomplete="off" class="layui-input">
    </div>
  </div>
  

  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">简介</label>
    <div class="layui-input-block">
      <textarea name="desc" placeholder="请输入简介" class="layui-textarea"></textarea>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">是否开启</label>
    <div class="layui-input-block">
      <input type="checkbox" name="status" value=1 checked lay-skin="switch">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">     排序 </label>
    <div class="layui-input-block">
      <input type="text" name="porder" value="10" required  lay-verify="number" placeholder="请输入作者" autocomplete="off" class="layui-input">
    </div>
  </div>



  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 
<script>
formSubmit('{_url m="doaddmode"}','formDemo','reload');
</script>